<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>${sysName}-登录</title>
    <link rel="stylesheet" type="text/css" href="${resRoot}/login/css/style.css?v=201812221">
   <!--  <link rel="stylesheet" type="text/css" href="${resRoot}/login/css/index.css?v=201812221"> -->
</head>
<body >
<!-- <body style="background:url(../login/images/bg1.jpg) no-repeat;height: 100%;">
    <div class="wraper">
 <form action="${base}/tologin" method="post"  >
    <div class="logo">
            <img src="images/logo.png" />
			<div class="denglu">
            <p>${sysName}</p>
			</div>
        </div>
       
        <div class="ad_img">
        	<div class="ad_img_l">
        		<img src="../login/images/login3.jpg"/>
        	</div>
            <div class="ad_img_r">
            	选项卡
            	    <div id="tb_" class="tb_">
					   <ul>
					    <li id="tb_1" class="hovertab" >
					    	<span>密码登录</span>
					    </li>
					   
					   </ul>
					 </div>
					 <div class="ctt">
						  <div class="dis" id="tbc_01">
						  <input type="text" class="login1 inp_bg1" name="loginName" autocomplete="off" placeholder="账号" value="${loginName!}" autofocus="autofocus">
						  <input type="password"  class="login1 inp_bg2" name="password" placeholder="密码" value="${password!}" >
						  	  <input class="login1 inp_bg1" type="text" name="name5" id="name5" value="" placeholder="请输入用户名" />
	                          <input class="login1 inp_bg2" type="text" name="pwd5" id="pwd5" value="" placeholder="请输入密码" />
						  </div>
						  <input id="rememberCode" name="rememberCode" type="checkbox" <#if rememberCode?? && rememberCode=="1">checked="checked"</#if> value="1" ><label for="rememberCode">记住密码</label>
						 <button  class=" login2" type="submit" >登录</button>
					 </div>
					    <div class="remember-code"><input id="rememberCode" name="rememberCode" type="checkbox" <#if rememberCode?? && rememberCode=="1">checked="checked"</#if> value="1" ><label for="rememberCode">记住密码</label></div>
        
                <input class="login2" type="button" name="btn5" id="btn5" value="登录" />
               
            </div> 
        </div>
        <div class="login-title">${sysName}系统管理后台</div>
        <div class="input-border longin-number"><input type="text" name="loginName" autocomplete="off" placeholder="账号" value="${loginName!}" autofocus="autofocus"></div>
        <div class="input-border longin-code"><input type="password" name="password" placeholder="密码" value="${password!}" ></div>
        
        <div class="remember-code"><input id="rememberCode" name="rememberCode" type="checkbox" <#if rememberCode?? && rememberCode=="1">checked="checked"</#if> value="1" ><label for="rememberCode">记住密码</label></div>
        <div class="login-button"><button class="large-button" type="submit" >登录</button></div>
        </form> -->
 <div class="container bg2">
    <div class="login-content">
        <form action="${base}/tologin" method="post"  >
        <div class="login-title">SpringBoot管理平台</div>
        <div class="input-border longin-number"><input type="text" name="loginName" autocomplete="off" placeholder="账号" value="${loginName!}" autofocus="autofocus"></div>
        <div class="input-border longin-code"><input type="password" name="password" placeholder="密码" value="${password!}" ></div>
        <div class="remember-code"><input id="rememberCode" name="rememberCode" type="checkbox" <#if rememberCode?? && rememberCode=="1">checked="checked"</#if> value="1" ><label for="rememberCode">记住密码</label></div>
        <div class="login-button"><button class="large-button" type="submit" >登录</button></div>
        <div style="font-size:12px;margin-top: 10px;text-align: center;color:red;" >科技有限公司</div>
        </form>
    </div>
</div>
<!-- </div> -->
<script type="text/javascript" src="${resRoot}/layui/layui.js"></script>
	<script type="text/javascript" src="${resRoot}/js/jquery.min.js"></script>
	<script type="text/javascript" src="${resRoot}/js/main.js"></script>
	<#if n??>
	<script type="text/javascript">
	window.onload=function(){ 
		if('${n}'=='2') {
				layer.msg('帐号密码不能为空！');
			} else if('${n}'=='4') {
				layer.msg('登录错误！');
				} else {
					layer.msg('帐号密码错误！');
					}
			}
	</script>
	</#if>
</body>
</html>
